<?php
namespace org\crawlgenie\application\document;
use \CGException;

/**
 * Description of DocumentXML
 *
 * @author Jinson
 */
class DocumentXML extends Document {
    //put your code here

    public function __constructor() {
        print 'DocumentXML constructor';
    }

    /**
     * Standard getInstance method for singletons to get a single cached instance.
     */
    public static function getInstance() {
        if(self::$_instance == null) {
            $class = __CLASS__;
            self::$_instance = new $class;
        }
        return self::$_instance;
    }


    public function setHeader() {
        header ("Content-Type:text/xml; charset=utf-8");
    }

    public function parsePage() {

    }

    public function sendDocument() {

    }


}
?>